﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmApiLibrary.datatypes
{
    public class QQUser
    {
        public string city_code;
        public string country_code;
        public int fansnum;
        public string head;
        public int idolnum;
        public bool isidol;
        public bool isvip;
        public string location;
        public string name;
        public string nick;
        public string province_code;
        public List<string> tag;
        public QQTweet tweet;
        //To-do: Add ToString() function for test and debug
    }

    public class QQTweet
    {
        public string from;
        public string id;
        public string text;
        public string timestamp;
        // To do: Add ToString() function for test and debug
    }

    public class QQData
    {
        public string pos;
        public string timestamp;
        public string hasnext;

        public List<QQInfo> info;
       
        // To do: Add ToString() function for test and debug
    }


    public class QQInfo
    {
        public string city_code; //<city_code /> 
        public int count; //<count>116</count> 
        public string country_code; //<country_code>1</country_code> 
        public string from; // <from>网页</from> 
        public string geo; // <geo>0</geo> 
        public string head; // <head>http://app.qlogo.cn/mbloghead/d3923d2c5e94493e0486</head> 
        public string id; // <id>39037051788589</id> 
        public string image; //<image>http://app.qpic.cn/mblogpic/6f4087e082616a076e70</image> 
        public bool isvip; // <isvip>1</isvip> 
        public string location; //<location>北京</location> 
        public string name; // <name>qqtech</name> 
        public string nick; // <nick>腾讯科技</nick> 
        public string origtext; //<origtext>【李开复腾讯微博粉丝破千万 直逼第一博主刘翔】在出版新书《微博：改变一切》后仅一周时间，创新工场董事长@kaifulee 又迎来一喜讯。今日凌晨李开复在腾讯微博听众突破1千万，成为继体育明星刘翔之后腾讯出现的第二位粉丝超过千万的博主 http://url.cn/3cyF95</origtext> 
        public string province_code; //<province_code>11</province_code> 
        public string self; //<self>0</self> 
        //public string source; // <source /> 
        public string status; // <status>0</status> 
        public string text; // <text>【李开复腾讯微博粉丝破千万 直逼第一博主刘翔】在出版新书《微博：改变一切》后仅一周时间，创新工场董事长@kaifulee 又迎来一喜讯。今日凌晨李开复在腾讯微博听众突破1千万，成为继体育明星刘翔之后腾讯出现的第二位粉丝超过千万的博主 <a href="http://url.cn/3cyF95" target="_blank">http://url.cn/3cyF95</a></text> 
        public string timestamp; //<timestamp>1295583746</timestamp> 
        public string type; // <type>1</type> 
    }

    public class QQ_Statuses_home_timeline
    {
        public string ret;
        public string msg;
        public QQData data;
       // public string user;

    }
}
